
namespace cusp {

/** \brief Compute the Frobenius norm of a matrix.
 *
 *  For array2d use this only if pitch is zero, otherwise the result is undefined.
 */
template<typename MatrixType>
typename MatrixType::value_type frobenius_norm(MatrixType &A);

} // end namespace cusp

#include <cusp/detail/frobenius_norm.inl>

